FROM 172.26.100.131/qa-space/qa-base

COPY entrypoint.sh /entrypoint.sh

WORKDIR home

RUN pip install git+https://github.com/rockeyzhu/tornado_http2 \
  && pip install quantaxis_webserver \
  && pip install quantaxis -U \
  && pip install tornado==5.1.0 \
  && chmod +x /entrypoint.sh \
  && chmod +x /usr/local/lib/python3.6/site-packages/QUANTAXIS/QAUtil/QASetting.py



EXPOSE 8010

CMD ["bash", "/entrypoint.sh"]
